//
//  YLMemberPrivilegeTableViewCell.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/12.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLMemberPrivilegeTableViewCell.h"
#import "YLMemberPrivilegeModel.h"
@interface YLMemberPrivilegeTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation YLMemberPrivilegeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (NSString *)cellID
{
    return @"YLMemberPrivilegeTableViewCell";
}

- (void)setModel:(YLMemberPrivilegeModel *)model
{
    _model = model;
    _icon.image = [UIImage imageNamed:model.icon];
    _titleLabel.text = model.title;
    _contentLabel.text = model.content;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
